using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace Destra.Tools.DACGenerator
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Config.DacGeneratorConfig c = new Destra.Tools.DACGenerator.Config.DacGeneratorConfig();
            c.RunTimeConnectionStringName = "Sample";
            c.ClassConfig = new Destra.Tools.DACGenerator.Config.ClassConfig();
            c.ClassConfig.Namespace = "Sample";
            c.ClassConfig.Class = "Sample";

            Application.Run(new MainDialog("SELECT * FROM [media].[Media]", c));
        }
    }
}
